package Demo4;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main2 {
    public static void main(String[] args) {
        double dd = RR1.fun2();
        System.out.printf("%.2f",dd);
    }
}

class RR1{

    public static double fun2(){
        List<Integer> integers = new ArrayList<>();

        //写数字
        Scanner in = new Scanner(System.in);
        int a,b,c,d,e;
        a = in.nextInt();
        b = in.nextInt();
        c = in.nextInt();
        d = in.nextInt();
        e = in.nextInt();
        integers.add(a);
        integers.add(b);
        integers.add(c);
        integers.add(d);
        integers.add(e);


        integers.sort(null);


        return  (double) integers.get(2);
    }

}

